package com.rxyb.trade.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rxyb.core.respone.R;
import com.rxyb.trade.db.po.ThirdPayYinshangCfg;
import com.rxyb.trade.gateway.dto.PayOrderReq;
import com.rxyb.trade.gateway.dto.PayOrderRsp;
import com.rxyb.trade.gateway.dto.RefundOrderReq;
import com.rxyb.trade.gateway.dto.RefundOrderRsp;

/**
 * <p>
 * 支付渠道表 服务类
 * </p>
 *
 * @author DUYH
 * @since 2020-06-19
 */
public interface TradeService {

    R<PayOrderRsp> pay(PayOrderReq payOrderReq);

    R<RefundOrderRsp> refund(RefundOrderReq refundOrderReq);
}
